import Vue from 'vue'
import App from './App.vue'
import store from '@/store'
/*
vuex
1:安装  npm i vuex
2:src/store/index.js
3:导入  import Vuex from 'vuex'
4:注册  import Vue from 'vue'   Vue.use(Vuex)
5:实例化
    const store=new Vuex.Store({
      state:{},
      mutations:{},
      actions,
      getters:{},
      modules:{}
    })
6:暴露出去 export default store
7:挂载到new Vue
  main.js
    import store from '@/store'
    new Vue({
      store
    })

*/

Vue.config.productionTip = false

new Vue({
  store, // store123:store123
  render: h => h(App)
}).$mount('#app')
